<?php

namespace Togetwzb\Yii2\Aliyun\Oss;


use OSS\Credentials\CredentialsProvider;
use yii\base\BaseObject;

/**
 * OSS 基本配置类对象
 *
 * $config=new Config(array $config);
 */
class OssConfig extends BaseObject
{
    /**
     * @var string 默认的 bucket
     */
    public $defaultBucket;

    /**
     * @var bool
     */
    public $isCName = false;

    /**
     * @var null|string
     */
    public $requestProxy = null;

    /**
     * @var null|CredentialsProvider
     */
    public $provider = null;

    /**
     * @var string accesskey id
     */
    public $accessKeyId;

    /**
     * @var string accesskey secret
     */
    public $accessKeySecret;

    /**
     * @var string security token
     */
    public $securityToken = null;

    /**
     * @var string endpoint
     */
    public $endpoint;
}